home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / os2 / oback202.arj / OBACKUP.TXT < prev    next >
Text File  |  1994-01-24  |  58KB  |  1,501 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.                      OBACKUP, ORESTORE and OBACKDIR
  22.  
  23.               OS/2 Compressing Backup and Restore utilities
  24.  
  25.                              $Revision: 2.2 $
  26.  
  27.                  Copyright (c) 1989-1993 by Trumphurst Ltd.
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.           Trumphurst Ltd.
  46.           The Willows
  47.           St. Martins Moor
  48.           Oswestry
  49.           Shropshire
  50.           SY10 7BH
  51.           England
  52.  
  53.           Tel: (+44) 0691-670318
  54.           Fax: (+44) 0691-670316
  55.           Mail: obackup@trmphrst.demon.co.uk
  56.                 nikki@trmphrst.demon.co.uk
  57.  
  58.  
  59. ________________________________________________________________________________
  60. File obackup.doc                                                       Page   1
  61. WARNING - This software is supplied without warranty of any kind. No
  62. guarantee of reliable performance can be given. The suppliers
  63. liability for any failure is limited to the cost of the OBACKUP
  64. program. Users should satisfy themselves that the software performs
  65. satisfactorily before relying on it in any way. As an absolute
  66. minimum, perform a full verification of your first few backups using
  67. ORESTORE /V. 
  68.  
  69. Demonstration copies of this software are distributed free of charge via
  70. computer bulletin boards. These demonstration copies will run for a
  71. limited time only. Full versions of the software are available from the
  72. supplier and from distributors. For details of how to obtain a full
  73. version, see below. 
  74.  
  75. OBACKUP and ORESTORE were written to provide a means of backing up data 
  76. from hard disks to floppies which would run as a protected mode
  77. application under OS/2. In order to save media costs, the programs
  78. compress the data as it is backed up. The algorithm used is dynamic
  79. Lempel-Ziv compression, which normally gives compression ratios of
  80. between 30% and 60%. To increase the speed of backup, the compression
  81. algorithm can be changed to a simple non-repeat packing method, or turned
  82. off altogether, using a command-line switch. 
  83.  
  84. OBACKUP makes full use of OS/2 threads, thus enabling it to read data from
  85. the hard disk, compress previously read data, and write previously 
  86. compressed data to floppy at the same time. The read and compression 
  87. threads still run while the user is changing floppies.
  88.  
  89. OBACKDIR produces a listing of all the files in a backup set.
  90.  
  91. OBACKUP currently only produces backups on disk. I would be interested 
  92. in enhancing it to cope with tape drives. If you have a tape drive that is
  93. supported by OS/2, please let me know.
  94.  
  95. Installation
  96.  
  97. Simply copy all the files on to a directory on your path. If you decide 
  98. to move or rename OBACKUP.EXE, make sure you move or rename OBACKUP.REG 
  99. with it. OBACKUP will not run without OBACKUP.REG in the same 
  100. sub directory, with the same name as the executable file.
  101.  
  102. Upgrading from a version of OBACKUP prior to 2.0
  103.  
  104. Users of earlier versions of OBACKUP should note that the current 
  105. version is NOT backward compatible with 1.4. Neither program will 
  106. restore backups made with the other. You should therefore make sure you 
  107. keep a copy of the old version (under a different name, or in a different 
  108. directory) so that you can still restore your old backups.
  109.  
  110. Please note that the way command line and response file arguments are 
  111. processed has changed slightly - all switch arguments must be separate 
  112. from file/directory arguments, and they apply only to files processed
  113. after they have been encountered.
  114.  
  115.  
  116.  
  117.  
  118.  
  119. ________________________________________________________________________________
  120. File obackup.doc                                                       Page   2
  121. Obtaining support and licensed copies of OBACKUP
  122.  
  123. World-wide on-line support for these programs is provided via the Internet.
  124. Queries about and orders for OBACKUP may be sent via Internet mail 
  125. to obackup@trmphrst.demon.co.uk.
  126.  
  127. Trumphurst Ltd.
  128. The Willows
  129. St. Martins Moor
  130. Oswestry
  131. Shropshire
  132. SY10 7BH
  133. England
  134. Tel : 0691-670318.              (country code 44)
  135. Fax : 0691-670316
  136.  
  137. The Australian distributor is 
  138. Critical Software Designs
  139. 5 Magnolia St.
  140. Daisy Hill
  141. Queensland 4127
  142. Australia
  143. Tel : (07) 208 9224             (country code 61)
  144. Fax/BBS - Ph: (07) 808 8998 (24 hrs)   Fidonet: 3:640/208
  145.  
  146. Prices
  147.                         U.K.            U.S.            Australia
  148. Single copy of OBACKUP  £50.00          $75.00          $125.00
  149. First update            £ 5.00          $10.00          $ 12.00
  150. Subsequent updates      Half the full price in force at the time.
  151. Updates from 1.4        £ 5.00          $ 7.50          $ 8.50
  152.  
  153. Unlimited site licences and educational bulk discounts available on request. 
  154. Bulk discounts for multiple copies serialised with the same name and address :
  155. 10-19 copies............ 20% discount
  156. 20-49 copies............ 30% discount
  157. 30-99 copies............ 40% discount
  158. 100 or more copies...... 50% discount
  159.  
  160. Postage and packing charges
  161. U.K..................... Free
  162. Europe.................. £2.50
  163. U.S..................... $10.00
  164. Australia............... Free
  165.  
  166. *** residents in EEC member states must add 17.5% VAT to the total bill ***
  167.  
  168. We accept Visa and Master cards at the UK address - if US customers using 
  169. a credit card to order, you will be charged the U.K. price, which will
  170. save a few dollars. 
  171.  
  172. Alternatively, checks are accepted in any of the above currencies. Checks 
  173. in other currencies (translated from the U.K. price at the current
  174. sterling exchange rate) should have 10% added to cover currency exchange 
  175. commission.
  176.  
  177.  
  178.  
  179. ________________________________________________________________________________
  180. File obackup.doc                                                       Page   3
  181. The reasons to back up data
  182.  
  183. Hardware failure - your hard disk can fail completely at any time !
  184.  
  185. Software failure - any program might contain a bug (defect) which could
  186.     corrupt data used by that program. Restoring a backup may allow you
  187.     to recover from such errors without re-keying all your data. 
  188.  
  189. Human error - It is regrettably easy to delete files accidentally, or to 
  190.     key in incorrect data.
  191.  
  192. Viruses - viruses and trojan programs may corrupt any data or programs on 
  193.     your hard disk. While this event is extremely unlikely, the insurance 
  194.     of sound backups could enable you to recover from the situation 
  195.     painlessly.
  196.  
  197. Archival of data - Keeping some of your old backups can enable you to 
  198.     restore historical data for analysis.
  199.  
  200. Normal backup procedures
  201.  
  202. Normal backup procedure is to backup ALL the files on your hard disk at 
  203. regular intervals. In between these full backups, you should run an
  204. incremental backup to record files which have changed since the last full
  205. backup. You should keep more than one set of backup disks, so that if a
  206. backup set is corrupted for any reason, you can go to an earlier backup. 
  207.  
  208. Deciding on the interval between backups
  209.  
  210. You should certainly aim to be able to recover your data in the event of
  211. a hard disk failure without undue expense in re-keying data. Most users 
  212. should do an incremental backup at least once every day. Normally, a full 
  213. backup is taken whenever the number of disks holding the incremental 
  214. backups approaches the number needed to hold a full backup.
  215.  
  216. Deciding how many backup sets to keep
  217.  
  218. In addition to any requirement for historical data, you should also take 
  219. account of any periodic checks and reports run on your data. You should 
  220. always aim to be able to restore your data to the state it was in just 
  221. after the last periodic check. If your current report shows that your data
  222. is corrupt or incorrect in some way, you will then be able to go back to a
  223. situation in which you know the data is correct.
  224.  
  225. As an absolute minimum, you should keep 3 backup sets (the Grandfather, 
  226. Father, Son system). Many users will require much more than this. For a
  227. typical accounting application, for instance, you should keep 5 daily
  228. incremental backups (one for each working day), 4 or 5 full weekly
  229. backups (one for each week in the accounting period), and 3 full period
  230. backups. If you have a requirement for historical data, you might also
  231. keep 12 or 13 period sets, and 3 or more yearly sets. 
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239. ________________________________________________________________________________
  240. File obackup.doc                                                       Page   4
  241. How to take a backups
  242.  
  243. For a full backup of drive C:, from the OS/2 command prompt type ...
  244.  
  245. OBACKUP /S/R C:\
  246.  
  247. If you have more than one hard disk (e.g. C: and D:) you might type ...
  248.  
  249. OBACKUP /S/R C:\ D:\
  250.  
  251. To take an incremental backup, change the above to ...
  252.  
  253. OBACKUP /I/S/R C:\
  254. or
  255. OBACKUP /I/S/R C:\ D:\
  256.  
  257. OBACKUP creates a backup directory (called OBACKUP.DIR), listing all 
  258. the files backed up. This file is used by OSHOWDIR when listing 
  259. backup set contents. You should delete this file (first copying it 
  260. off to floppy using COPY if required) when you start a new backup
  261. set. You can also recreate this file by running OBACKDIR on the 
  262. backup set.
  263.  
  264. OBACKUP also creates a backup log (called OBACKUP.LOG), listing any 
  265. errors that occurred during backup, and the final backup statistics.
  266. This can be useful for checking back to see exactly what errors occurred.
  267. Details of each backup are appended to this file, so you should delete
  268. this file as soon as it is no longer required, otherwise it will continue 
  269. to grow each time you do a backup.
  270.  
  271. How to restore backups
  272.  
  273. To check that your backup can be restored correctly, from the OS/2 command
  274. prompt type ...
  275.  
  276. ORESTORE /V
  277.  
  278. To restore a complete backup, type ...
  279.  
  280. ORESTORE /W
  281.  
  282. ORESTORE also creates a restore log (called ORESTORE.LOG), listing any 
  283. errors that occurred during restore. This can be useful for checking back
  284. to see exactly what errors occurred. Details of each restore are appended
  285. to this file, so you should delete this file as soon as it is no longer
  286. required, otherwise it will continue to grow each time you do a restore.
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299. ________________________________________________________________________________
  300. File obackup.doc                                                       Page   5
  301. OBACKUP in detail
  302.  
  303. Invoke OBACKUP from the OS/2 command interpreter (or a .CMD file) as
  304. follows ... 
  305.  
  306. OBACKUP [<disk>:] [/Bnnn] [/+ACDEHILMNPRSTV] [/+-EHISTUX] <pathnames>
  307.  
  308.     Normally, OBACKUP writes data to drive A:. If you include the
  309.     optional disk: parameter (e.g. B:), the data is written to the
  310.     specified drive. 
  311.  
  312.     SWITCHES - indicate switches by preceeding them with either / or +.
  313.     To turn a switch OFF, precede it with '-' instead. Switches must 
  314.     appear BEFORE the pathname arguments to which they apply.
  315.  
  316.     The E, H, I, S, T, U and X switches may be switched on for some files, 
  317.     and switched off for others. All the other switches must apply to the 
  318.     whole backup.
  319.  
  320.     /Bnnn = Use nnn 8k buffers (min 8, max 500, default 120)
  321.          This changes the amount of memory OBACKUP uses. If you
  322.     find that OS/2 is having to page memory to disk while OBACKUP
  323.     is running, you may wish to set this to a smaller number than the
  324.     default 120. 
  325.  
  326.     /A = Add this data to the end of a previous backup.
  327.          Normally, OBACKUP creates a new backup set each time it is
  328.     run. Setting this switch causes OBACKUP to add the new data to
  329.     the end of another backup set. You should have the last disk from the
  330.     backup set ready to put in the drive. 
  331.  
  332.     /C = no Checking if backup disk belongs to same backup set
  333.          Normally OBACKUP will not write backup data to a disk that
  334.     belongs to the current backup set. This prevents you accidentally
  335.     over-writing a previous disk by mistake. If you are using
  336.     OBACKUP to transfer a file system from one machine to another,
  337.     this switch allows you to do it using only one (or two) floppies. If
  338.     you use this switch, please be careful not to overwrite the disk
  339.     already in the drive by mistake ! 
  340.  
  341.     /D = Delete existing OBACKUP files on floppy disk first
  342.          Normally, OBACKUP assumes the floppy disk to be a blank,
  343.     formatted disk. If any existing OBACKUP files are found on the
  344.     disk, you will be asked if you wish to delete the old OBACKUP
  345.     files. The /D switch automatically deletes such files without asking.
  346.  
  347.     NOTE: Unless OBACKUP is run in /R(aw) mode, OBACKUP never
  348.     deletes other files on the floppy disk - if you wish to do this, you
  349.     should start another OS/2 session, and delete the files from there.
  350.     You need to do this before OBACKUP starts writing to the disk. 
  351.  
  352.     /E = include Empty files and sub directories in the backup.
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359. ________________________________________________________________________________
  360. File obackup.doc                                                       Page   6
  361.     /H = include Hidden and system files
  362.          If this switch is set, OBACKUP includes hidden and system
  363.     files (such as IBMBIO.COM and IBMDOS.COM) in the backup process.
  364.     OBACKUP never includes files which are currently in use by
  365.     another OS/2 process. 
  366.  
  367.     /I = Incremental backup.
  368.          If this switch is set, OBACKUP skips all files which don't
  369.     have their archive bit set. OBACKUP normally resets the archive
  370.     bit on each file as it is backed up (see /T switch). Other backup
  371.     programs, including OS/2 BACKUP and XCOPY also reset this bit. The
  372.     archive bit is automatically set by OS/2 whenever a file is altered.
  373.     This switch therefore enables you to backup only files which have
  374.     changed since your last backup. You can use the OS/2 utility ATTRIB
  375.     to find out whether a file has the archive bit set. An A attribute
  376.     indicates that a file has been altered since your last backup. 
  377.  
  378.     /L = don't Log backup
  379.          Normally, OBACKUP logs all backup activity to the file
  380.     OBACKUP.DIR, for later viewing with OSHOWDIR. The /L switch
  381.     disables this feature. 
  382.  
  383.     /M = Monochrome screen - screens are shown in black and white.
  384.  
  385.     /N = do Not compress files
  386.          Normally, OBACKUP uses dynamic Lempel-Ziv compression on
  387.     large files, to reduce the number of disks taken for a backup.
  388.     Including the /N switch speeds up the backup process by disabling
  389.     this feature. Files are copied unchanged, except for OBACKUP
  390.     control information, which is added to each block of data. 
  391.  
  392.     /P = Pack files (non-repeat compression)
  393.          Normally, OBACKUP uses dynamic Lempel-Ziv compression on
  394.     large files, to reduce the number of disks taken for a backup.
  395.     Including the /P switch speeds up the backup process by disabling
  396.     this feature. Files are still compressed slightly, using a faster,
  397.     non-repeat packing algorithm. 
  398.  
  399.     /R = Raw device output
  400.          Normally OBACKUP uses floppy disks formatted for use by
  401.     OS/2. This means that part of the available space on the disk is used
  402.     for OS/2 directories, boot sectors, FAT's etc. Also, if you try to
  403.     backup onto an unformatted disk, OBACKUP is unable to write to
  404.     that disk. Using the /R switch causes OBACKUP to use the whole
  405.     area of the disk for data. If OBACKUP is not able to write to
  406.     the disk, it attempts to format it. OBACKUP does not write to
  407.     non-removable disks in Raw mode, or to disks with a track size
  408.     greater than 32768 bytes. 
  409.  
  410.     NOTE: OBACKUP always attempts to use the default format
  411.     for the drive. This usually means the highest density format, so you
  412.     must use suitable disks. 
  413.  
  414.     /S = include files from Sub-directories
  415.          This switch causes OBACKUP to search all sub-directories
  416.     of the directories specified in <pathnames> for files to back up. 
  417.  
  418.  
  419. ________________________________________________________________________________
  420. File obackup.doc                                                       Page   7
  421.     /T = Test mode.
  422.          This switch stops OBACKUP from resetting the archive bit
  423.     on files as they are backed up (see /I switch). 
  424.  
  425.     /U = include files in use by other programs
  426.          Normally OBACKUP backs up all the files it can open for 
  427.     reading, even if some other program may be writing to them at the
  428.     time. If another program changes a file while it is actually being 
  429.     backed up, the backup could contain a partially changed file, which 
  430.     may cause problems if the file is restored. Including -U (or /-U) 
  431.     turns this option off, so that such files are not backed up at all.
  432.  
  433.     /V = Verify data written to floppy
  434.          Including this switch causes OBACKUP to re-read each block
  435.     of data immediately after writing it to the floppy. If any errors are
  436.     encountered when the data is re-read, OBACKUP re-write s the
  437.     data on the next disk. This switch slows down the backup process
  438.     considerably. 
  439.  
  440.     /X = eXtended attributes.
  441.          By default, OBACKUP saves OS/2 extended attribute data
  442.     in the backup. By including /-X, you can turn this facility off.
  443.  
  444.     <pathnames> may either be directory names, ambiguous file names (as
  445.     used in the DIR command) or full file names. As many pathnames as
  446.     will fit on the command line may be included. If the pathname is a
  447.     file name, that file is backed up. If the pathname is an ambiguous
  448.     file name, all files matching that name are backed up. If the
  449.     pathname is a directory name, all files on that directory are backed
  450.     up. To specify a pathname containing spaces or the characters /, + or -,
  451.     enclose the whole pathname in double quotes ("). To include the double
  452.     quote mark itself, precede it with a backslash (\).
  453.  
  454.     If a supplied pathname is an absolute pathname (i.e it starts from
  455.     the root directory - e.g. \MYDIR\MYFILE) the full pathname is
  456.     recorded in the backup, and ORESTORE will restore the file to
  457.     the same place. If the pathname contains a disk drive, the file will
  458.     also be restored to the same drive. (Note - ORESTORE has
  459.     options to over-ride this if necessary.) If the pathname is relative
  460.     to the current directory (e.g. MYDIR\MYFILE), it will be restored
  461.     relative to the current directory when ORESTORE is run. It is
  462.     therefore suggested that you always specify full pathnames including
  463.     drive letters when making backups. 
  464.  
  465. The E, H, I, S, T, U and X switches may be turned on (e.g. with +H) or
  466. off (e.g. -H) at any place in the command line. These switches take
  467. effect for subsequent pathnames (until turned off/on again). 
  468.  
  469. Entering OBACKUP /HELP shows a brief summary of the above information.
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479. ________________________________________________________________________________
  480. File obackup.doc                                                       Page   8
  481. Examples
  482.  
  483. OBACKUP B: *.*
  484.     Back up all files on the current directory to drive B:
  485.  
  486. OBACKUP /S C:\
  487.     Back up all files on all directories on drive C: to drive A:.
  488.  
  489. OBACKUP /N/V/S \
  490.     Back up all files on all directories on the current drive to drive A:.
  491. Do not compress, but verify data written to floppy after each write. 
  492.  
  493. OBACKUP B:/D/H/S/R C:\MYDIR
  494.     Back up all files (including hidden and system files) on directory 
  495. C:\MYDIR and all its sub directories to drive B:. Use raw device mode, 
  496. so that OBACKUP can format the disks as it goes.
  497.  
  498. OBACKUP +S C:\ -S D:\ D:\MYDIR\*.C
  499.     Back up all files on all directories on drive C:, all files on the 
  500. root directory on drive D:, and all files with extension .C on directory 
  501. D:\MYDIR, to drive A:.
  502.  
  503. OBACKUP /I/S C:\
  504.     Back up all files on drive C: which have changed since the last
  505. backup. 
  506.  
  507. Command files
  508.  
  509. You can create OBACKUP command files for regular partial backups.
  510. An OBACKUP command file consists of an ordinary ASCII file (created
  511. with your favourite editor or word processor in non-document mode). Each
  512. line of the file contains an OBACKUP command. Only the first line
  513. may contain a destination disk letter, or any of the switches D, N, P, R,
  514. T or V. You must not place more than 1 command or pathname per line.
  515.  
  516. Lines may contain comments, which are started with a semicolon. A comment
  517. may not appear on the same line as a pathname (otherwise it would be 
  518. difficult to parse pathnames containing spaces or semicolons).
  519.  
  520. To use a command file with OBACKUP, type
  521.  
  522. OBACKUP @filename
  523.  
  524. where filename is the name of your command file.
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539. ________________________________________________________________________________
  540. File obackup.doc                                                       Page   9
  541. Example command file
  542.  
  543. ;Backup to floppy disk A:
  544. A:
  545. /D              ;Delete any existing backups
  546. ;Backup everything on drive C:
  547. +S              ;Subsequent lines should include sub directories
  548. C:\
  549. ;Backup root directory only of drive D:
  550. -S              ;Subsequent lines should NOT include sub directories
  551. D:\
  552. ;Backup MYDIR directory on drive D:
  553. D:\MYDIR
  554.  
  555. Prompts and status information while the program is running
  556.  
  557. The OBACKUP screen is divided into four areas. The top area (in
  558. reverse video) shows program information, error messages, prompts to the
  559. user, and user responses. The other areas show lists of filenames as they
  560. are processed by each thread. The screen looks like this ... 
  561.  
  562. ╔══════════════════════════════════════════════════════════════════════════════╗
  563. ║OBACKUP OS/2 backup utility V2.2 Serial: 12345 Copyright(c)1991-93 Nikki Locke║
  564. ║OBACKUP disk no 002 - Dated 10/Nov/1993 10:00:00 <error messages here>        ║
  565. ║<prompts here>                                                      <debug no>║
  566. ╠═Files═╦═Bytes in══╦═Bytes out═╦══Time═══╦User time╦═Input══╦══Comp══╦═Output═╣
  567. ║     3 ║      2345 ║         0 ║    0:12 ║    0:04 ║   70%  ║   80%  ║   50%  ║
  568. ╠═══════╩═══════════╩════════Writing to output══════╩════════╩════════╩════════╣
  569. ║                                                                              ║
  570. ║                                                                              ║
  571. ║                                                                              ║
  572. ║                                                                              ║
  573. ║C:\OS2INIT.CMD                                                                ║
  574. ╠═══════════════════════════════Compressing════════════════════════════════════╣
  575. ║                                                                              ║
  576. ║                                                                              ║
  577. ║                                                                              ║
  578. ║C:\OS2INIT.CMD                                            <Compression method>║
  579. ║C:\CONFIG.SYS                                             <Compression method>║
  580. ╠════════════════════════════Reading from input════════════════════════════════╣
  581. ║                                                                              ║
  582. ║                                                                              ║
  583. ║C:\OS2INIT.CMD                                                                ║
  584. ║C:\CONFIG.SYS                                                    <file errors>║
  585. ║C:\FORMATS.TBL                                                   <file errors>║
  586. ╚══════════════════════════════════════════════════════════════════════════════╝
  587.  
  588. Files     : Number of files processed by the "Reading from input" thread.
  589. Bytes in  : Number of bytes read by the "Reading from input" thread.
  590. Bytes out : Number of bytes written by the "Writing to output" thread.
  591. Time      : Elapsed time (mins:secs)
  592. User Time : Time spent waiting for disk changes
  593. Input     : Percentage efficiency of the "Reading from input" thread.
  594. Comp      : Percentage efficiency of the "Compressing" thread.
  595. Output    : Percentage efficiency of the "Writing to output" thread.
  596.  
  597.  
  598.  
  599. ________________________________________________________________________________
  600. File obackup.doc                                                       Page  10
  601. These percentage efficiencies reach 100% when the thread is waiting for
  602. another thread to finish. They reach 0% when both the other threads are
  603. waiting for the indicated thread. 
  604.  
  605. Debug no  : If there is a problem with the program hanging, or not 
  606. responding to keyboard input, please make a note of this number and the 
  607. version number of the program when reporting the problem to your 
  608. supplier.
  609.  
  610. Prompts
  611.  
  612. "Insert disk 002 in drive A: and press Return"
  613. Insert a blank floppy disk in the indicated drive, and press Return. If
  614. you are using Raw device mode, OBACKUP will format the disk if
  615. necessary. Otherwise, the disk must be ready formatted. If you wish, you
  616. may format the disk (in another OS/2 session) before pressing Return.
  617.  
  618. "Insert disk 002 in drive A: and press Return or D to delete old backups"
  619. The disk you have just inserted contains data from a previous backup.
  620. Either replace the disk with another, or press D to delete these old
  621. backups. 
  622.  
  623. "Insert disk 002 in drive A: and press Return (DISCARD THIS FLOPPY)"
  624. A disk write or verify error (see error message on line 3) occurred while
  625. attempting to write the first block of data onto this disk. Remove the
  626. disk from the drive, discard it, and replace with another disk. No data
  627. will be lost. 
  628.  
  629. "Insert disk 002 in drive A: and press Return (KEEP THIS FLOPPY)"
  630. A disk write or verify error (see error message on line 3) occurred while
  631. attempting to write a block of data onto this disk. Remove the disk from
  632. the drive, including it in the backup set, and insert the next disk. No
  633. data will be lost. 
  634.  
  635. Once OBACKUP has started writing to the disk, a line of dots will appear 
  636. on the prompt line, and will disappear gradually as each block of data is 
  637. written. This enables you to monitor the process, and be ready to change 
  638. the disk as the last dots go.
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659. ________________________________________________________________________________
  660. File obackup.doc                                                       Page  11
  661. Error messages on line 3
  662.  
  663. "Active backup disk"
  664. The disk you have placed in the floppy drive already contains data from 
  665. this backup.
  666.  
  667. "Not last disk"
  668. You have specified the /A switch to add data to a previous backup, and
  669. the disk in the drive is not the last disk of a previous backup.
  670.  
  671. "Obackup 1.4 disk"
  672. You have specified the /A switch to add data to a previous backup, and
  673. the disk in the drive was backed up with an earlier version of OBACKUP.
  674. Version 2.0 is not compatible with earlier versions - you can only append 
  675. to old backups using the old program.
  676.  
  677. "Disk verify error"
  678. An error occurred while verifying that the data read back from the floppy
  679. disk was the same as the data written. This block of data will be re-
  680. written on the next backup disk.
  681.  
  682. "Disk write error"
  683. An error occurred while writing data to the floppy disk. This block of
  684. data will be re-written on the next backup disk. 
  685.  
  686. "Error opening archive file"
  687. OBACKUP could not create the backup file. This disk will not be used in 
  688. the backup.
  689.  
  690. "Error reading floppy disk"
  691. OBACKUP could not read any data from the floppy disk. This disk will not 
  692. be used in the backup.
  693.  
  694. "Formatting while copying"
  695. OBACKUP (in Raw mode) is formatting the disk while copying data to it.
  696.  
  697. "Cannot format track"
  698. OBACKUP could not format the floppy disk. This disk will not be used in 
  699. the backup.
  700.  
  701. "Not enough space on disk"
  702. There is not enough free space on the disk. Either open another OS/2 
  703. session to delete existing files on the disk (or run CHKDSK if there 
  704. aren't any), or use another disk.
  705.  
  706. "Old backup disk"
  707. The disk currently in the drive contains data from a previous backup. The 
  708. disk number and backup date are also displayed on line 3.
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719. ________________________________________________________________________________
  720. File obackup.doc                                                       Page  12
  721. Compression methods
  722.  
  723. "Copying"
  724. A section of file has been copied unchanged.
  725.  
  726. "Packing"
  727. A section of file has been non-repeat packed.
  728.  
  729. "Compressing"
  730. A section of file has been Lempel-Ziv compressed.
  731.  
  732. Different sections of the same file may use different compression methods,
  733. depending on which method gives the best compression. The compression 
  734. method shown against a file name is the one used on the latest block of 
  735. data from the file.
  736.  
  737. "Empty file"
  738. "Empty dir"
  739. Indicates an empty file or directory being backed up with the /E switch.
  740.  
  741. File errors
  742.  
  743. "File in use"
  744. Indicates that another process may be writing to the file. The file is
  745. still backed up, but the date may not be sensible if the other process
  746. changes the file while OBACKUP is reading it.
  747.  
  748. "Cannot open"
  749. OBACKUP can not open the file for reading, probably because another OS/2
  750. process is using the file. The file is not included in the backup set.
  751.  
  752. "Empty file"
  753. The file contains no data. Such empty files are only backed up if the /E 
  754. switch is specified.
  755.  
  756. "Cannot read EAs"
  757. OBACKUP could not read the Extended Attributes for the file. No 
  758. Extended Attribute information is backed up for this file.
  759.  
  760. "Read error"
  761. An error occurred while OBACKUP was reading the file. Only data read 
  762. before the error is backed up.
  763.  
  764. "Directory depth too great - ignoring sub directories"
  765. OBACKUP can only handle pathnames of a limited length. The directory which 
  766. is about to be backed up has a path name which would cause this length to
  767. be exceeded. The only way to backup files from this directory is to make 
  768. it (or its parent) the current directory, and backup from there.
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779. ________________________________________________________________________________
  780. File obackup.doc                                                       Page  13
  781. Fatal errors
  782.  
  783. Any of the following errors causes OBACKUP to terminate immediately.
  784.  
  785. "Cannot handle media this size"
  786. OBACKUP cannot handle disks with a track size of greater than 32768 bytes 
  787. in Raw mode. Do not use the /R switch when backing up to this drive.
  788.  
  789. "Non-removable media"
  790. OBACKUP will not write to fixed disks in Raw mode. Do not use the /R
  791. switch when backing up to this drive. 
  792.  
  793. "Error opening command file"
  794. A command file was specified using @<filename>. The file could not be 
  795. opened. Check the file name is correct.
  796.  
  797. "Invalid Bytes Per Sector"
  798. OBACKUP can only cope with disks of 128, 256, 512 or 1024 bytes per 
  799. sector in raw mode. Do not use the /R switch when backing up to this
  800. drive. 
  801.  
  802. Internal errors
  803.  
  804. "Can't determine drive type" *** 
  805. "Can't read BPB" *** 
  806. "Can't set BPB" ***
  807. "Creating archive bit setting thread" *** 
  808. "Creating compress thread" *** 
  809. "Creating timer thread" *** 
  810. "Creating write thread" *** 
  811. "DosQueryFileInfo error" *** 
  812. "Error allocating Extended Attribute buffer" ***
  813. "Error allocating queue" *** 
  814. "Error allocating second Extended Attribute buffer" ***
  815. "Error allocating verify buffer" *** 
  816. "Error allocating write buffer" *** 
  817. "Error reading invalid queue" *** 
  818. "Error writing buffer queue" *** 
  819. "Error writing completed queue" *** 
  820. "Error writing compress queue" *** 
  821. "Error writing floppy queue" *** 
  822. "Error writing invalid queue" *** 
  823. "Error writing unknown queue" *** 
  824. "Invalid bpb" ***
  825. "Too many queues" *** 
  826.  
  827. Errors marked *** are internal OBACKUP errors. All internal
  828. errors which cannot be explained by either another OS/2 process
  829. accessing a file, by a bad sector on the floppy disk, or by another
  830. hardware failure, should be reported to your supplier, as they
  831. indicate a probable program bug. If you report an internal error,
  832. please note down the program version number, and the debug number
  833. (from line 4). 
  834.  
  835.  
  836.  
  837.  
  838.  
  839. ________________________________________________________________________________
  840. File obackup.doc                                                       Page  14
  841. ORESTORE in detail
  842.  
  843. ORESTORE is invoked from the OS/2 command interpreter (or a .CMD file) as 
  844. follows ...
  845.  
  846. ORESTORE [<disk>:] [/ACDIMQRTVWX] [<files to restore>]
  847.  
  848.     Normally, ORESTORE reads data from drive A:. Including the optional 
  849.     disk: parameter (e.g. B:) causes the data to be read from the 
  850.     specified drive.
  851.  
  852.     /A = restore All files to sub directories of current directory
  853.          If the backed up file name contains a disk drive letter, and/or
  854.     it is an absolute path name (starting from root - e.g. \MYDIR\MYFILE)
  855.     the /A switch overrides this, and restores the files to paths
  856.     relative to the current disk and directory. In the example, if the
  857.     current directory was C:\TOPDIR, the file would be restored as C:
  858.     \TOPDIR\MYDIR\MYFILE. 
  859.  
  860.     /C = restore all files to Current directory
  861.          The /C switch removes all drive letters and path details from the
  862.     file name before restoring it. This means that all the files from the
  863.     backup are restored to the current directory. If there are two files
  864.     with the same name (backed up from different directories), the second
  865.     file is not restored (subject to /Q and /W switches). 
  866.  
  867.     /D = Don't test disks to see if OBACKUP /R(aw) was used
  868.          Normally ORESTORE tests each disk to see whether it was written 
  869.     by OBACKUP in /R(aw) mode. This switch disables this test. You need to
  870.     use it if the backup was to a non-removable device, or one where the 
  871.     track size is greater than 32768 bytes.
  872.  
  873.     /I = Interactive mode - query each file before restoring/verifying
  874.           Normally ORESTORE restores or verifies all the files in a
  875.     backup set. The /I switch causes ORESTORE to ask you whether to
  876.     backup, verify or ignore each file in turn. Note that this switch also
  877.     takes other behaviour into account, so existing files will be ignored 
  878.     without prompting unless the /W or /Q switches are also on.
  879.  
  880.     /M = Monochrome screen - screens are shown in black and white.
  881.  
  882.     /Q = Query mode - ask before overwriting existing files
  883.          Normally ORESTORE does not overwrite existing files. The /Q switch
  884.     causes ORESTORE to ask you whether to overwrite any existing file
  885.     each time one is found. 
  886.  
  887.     /T = set file Times to time restored
  888.          Normally ORESTORE sets each restored file's time and date to its
  889.     original time and date before it was backed up. This switch turns off
  890.     this feature.
  891.  
  892.     /R = assume Raw mode was used for backup
  893.          Normally ORESTORE tests each disk to see whether it was written 
  894.     by OBACKUP in /R(aw) or non raw mode. This switch saves the time 
  895.     taken by this test.
  896.  
  897.  
  898.  
  899. ________________________________________________________________________________
  900. File obackup.doc                                                       Page  15
  901.     /V = Verify backup without restoring files
  902.          This switch enables you to check that every file in the backup 
  903.     set is restorable.
  904.  
  905.     /W = overWrite existing files without asking
  906.          Normally ORESTORE does not overwrite existing files. The /W switch
  907.     causes ORESTORE to overwrite existing files without asking.
  908.  
  909.     /X = Ignore eXtended attributes.
  910.          This switch prevents ORESTORE from updating or checking the 
  911.     Extended Attributes of the files being restored.
  912.  
  913. <files to restore>
  914.     If you enter one or more file names or path names, only files 
  915. satisfying at least one of the names are restored. If you enter only a
  916. file name (without disk letter or directory specifiers), all files on all 
  917. directories which match the name are restored. If you enter a path 
  918. name (with disk letter or directory specifier), only files fully matching 
  919. the path name are restored. File and path names may be ambiguous.
  920.  
  921. Entering ORESTORE /HELP shows a brief summary of the above information.
  922.  
  923. Examples
  924.  
  925. ORESTORE B:
  926.     Restores files from drive B:
  927.  
  928. ORESTORE /V/I
  929.     Asks you whether to verify each individual file in the backup set. 
  930.  
  931. ORESTORE /W *.C \INCLUDE\*.*
  932.     Restores all files with extension .C in all directories, and all
  933. files on the \INCLUDE directory, overwriting any existing files with the
  934. same names.
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959. ________________________________________________________________________________
  960. File obackup.doc                                                       Page  16
  961. Prompts and status information while the program is running
  962.  
  963. The ORESTORE screen is divided into two areas. The top area (in reverse 
  964. video) shows program information, error messages, prompts to the user,
  965. and user responses. The other area shows the names of files as they are 
  966. restored. The screen looks like this ...
  967.  
  968. ╔══════════════════════════════════════════════════════════════════════════════╗
  969. ║ORESTORE OS/2 restore utility V2.2 Copyright(c)1991-93 Nikki Locke            ║
  970. ║OBACKUP disk no 002 - Dated 10/Nov/1993 10:00:00 <error messages here>        ║
  971. ║<prompts here>                                                      <debug no>║
  972. ╠═Disks══╦══Files══╦═Bytes in══╦═Bytes out═╦═══Block═══╦════CRC════╦══Verify═══╣
  973. ║      0 ║       0 ║         0 ║         0 ║         0 ║         0 ║         0 ║
  974. ╠════════╩═════════╩═══════════╩═File names╩═══════════╩═══════════╩═══════════╣
  975. ║                                                                              ║
  976. ║                                                                              ║
  977. ║                                                                              ║
  978. ║                                                                              ║
  979. ║                                                                              ║
  980. ║                                                                              ║
  981. ║                                                                              ║
  982. ║                                                                              ║
  983. ║                                                                              ║
  984. ║                                                                              ║
  985. ║                                                                              ║
  986. ║                                                                              ║
  987. ║                                                                              ║
  988. ║                                                                              ║
  989. ║                                                                              ║
  990. ║                                                                              ║
  991. ║                                                                              ║
  992. ║(D:\MYDIR\) MYFILE                                               <file errors>║
  993. ║MYFILE.DAT                                                       <file errors>║
  994. ╚══════════════════════════════════════════════════════════════════════════════╝
  995.  
  996. Disks     : Number of disks processed so far
  997. Files     : Number of files restored/verified
  998. Bytes in  : Number of bytes read from floppy disk
  999. Bytes out : Number of bytes written/verified to hard disk
  1000. Block     : Number of block errors
  1001. CRC       : Number of file CRC errors
  1002. Verify    : Number of file verify/open errors
  1003.  
  1004. Debug no  : If there is a problem with the program hanging, or not 
  1005. responding to keyboard input, please make a note of this number and the 
  1006. version number of the program when reporting the problem to your 
  1007. supplier.
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019. ________________________________________________________________________________
  1020. File obackup.doc                                                       Page  17
  1021. Prompts
  1022.  
  1023. "Insert disk 002 in drive A: and press Return "
  1024. Place the next disk in the backup set in the floppy drive, and press 
  1025. Return.
  1026.  
  1027. "Insert disk 002 in drive A: and press Return or R to restart from this disk"
  1028. The disk in the drive is not the next disk in the backup sequence. Either
  1029. place the correct disk in the drive, and press Return, or press R to
  1030. continue restoring data from the first file found on this disk. If you
  1031. press R, any file which has been partially restored from the previous
  1032. disk is not restored correctly. 
  1033.  
  1034. "Obackup 1.4 disk - insert new disk and press Return"
  1035. The disk in the drive is from a backup made with a version of OBACKUP
  1036. prior to 2.0. To restore data from this backup, you must use ORESTORE 
  1037. version 1.4.
  1038.  
  1039. "Verify this file (y/n)"
  1040. "Verify this directory exists (y/n)"
  1041. When the /I and /V switches are in use, this prompt is shown for each
  1042. file found in the backup set. Press Y to verify this file, or N to skip
  1043. to the next file in the set. 
  1044.  
  1045. "Restore this file (y, n or v to verify only)"
  1046. "Restore this directory (y, n or v to verify only)"
  1047. When the /I switch is in use, this prompt is shown for each file found in
  1048. the backup set. Press Y to restore this file, V to verify this file is
  1049. the same on the hard disk is it is in the backup, or N to skip to the
  1050. next file in the set. 
  1051.  
  1052. "File exists - overwrite (y/n)"
  1053. When the /Q switch is in use, this prompt is shown for each file in the
  1054. backup set which already exists on the hard disk. Press Y to overwrite
  1055. the existing file with the backup copy, or N to skip to the next file in
  1056. the set. 
  1057.  
  1058. Error messages on line 4
  1059.  
  1060. "Decompression error - Abort, Skip to next file, Next floppy" ***
  1061. An unexpected error has occurred while trying to decompress a block of 
  1062. data. Press A to abort the program, S to restart from the next file in the
  1063. backup set, or N to restart from the first file on the next floppy. The 
  1064. current file is not restored correctly.
  1065.  
  1066. "Floppy CRC error - Abort, Retry, Ignore, Skip file, Next floppy" ***
  1067. The CRC check on the validity of a data block read from the floppy has 
  1068. failed. Press A to abort the program, R to re-read the data, I to ignore 
  1069. the error (this may give rise to further errors later), S to restart from
  1070. the next file in the backup set, or N to restart from the first file on
  1071. the next floppy. If you press S or N, the current file is not restored
  1072. correctly. 
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079. ________________________________________________________________________________
  1080. File obackup.doc                                                       Page  18
  1081. "Floppy read error - Abort, Retry, Skip file, Next floppy"
  1082. A read error occurred while trying to read a data block from the floppy
  1083. has failed. Press A to abort the program, R to re-read the data, S to
  1084. restart from the next file in the backup set, or N to restart from the
  1085. first file on the next floppy. If you press S or N, the current file will
  1086. not have been restored correctly. 
  1087.  
  1088. "Invalid data block - Abort, Skip to next file, Next floppy" ***
  1089. A data block contained an invalid header. Press A to abort the program, S
  1090. to restart from the next file in the backup set, or N to restart from the
  1091. first file on the next floppy. The current file is not restored correctly.
  1092.  
  1093. "Invalid data CRC - Abort, Ignore, Skip to next file, Next floppy" ***
  1094. The CRC check on the validity of a data block has failed. Press A to
  1095. abort the program, I to ignore the error (this may give rise to further
  1096. errors later), S to restart from the next file in the backup set, or N to
  1097. restart from the first file on the next floppy. If you press S or N, the
  1098. current file is not restored correctly.
  1099.  
  1100. Error messages on line 3
  1101.  
  1102. "Not an OBACKUP disk"
  1103. The disk in the drive was not written by OBACKUP.
  1104.  
  1105. "Obackup 1.4 disk"
  1106. The disk in the drive was backed up with an earlier version of OBACKUP.
  1107. Version 2.0 is not compatible with earlier versions - you can only restore
  1108. to old backups using the old program.
  1109.  
  1110. "Error opening archive file"
  1111. ORESTORE could not open the archive file. Probably the drive is in use by 
  1112. another OS/2 process.
  1113.  
  1114. "Disk out of sequence"
  1115. The disk in the drive is not the next disk in sequence.
  1116.  
  1117. "Wrong OBACKUP set"
  1118. The disk in the drive is from a different OBACKUP set.
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139. ________________________________________________________________________________
  1140. File obackup.doc                                                       Page  19
  1141. File errors and messages
  1142.  
  1143. "Verified OK"
  1144. The file on the hard disk is the same as the one in the backup.
  1145.  
  1146. "Restored OK"
  1147. The file was restored correctly.
  1148.  
  1149. "Skipped"
  1150. The file is not being restored, either because it does not match the file
  1151. name list provided when ORESTORE was invoked, or because you asked to
  1152. skip it in interactive mode. 
  1153.  
  1154. "EA write error"
  1155. An error occurred when trying to update the Extended Attributes of the file. 
  1156. The file on the hard disk was deleted.
  1157.  
  1158. "Write error"
  1159. A write error occurred when trying to write data to the file. The file on 
  1160. the hard disk was deleted.
  1161.  
  1162. "Verify error"
  1163. The file on the hard disk does not match the file in the backup set.
  1164.  
  1165. "EA Verify err"
  1166. The Extended Attributes of file on the hard disk do not match those of the 
  1167. file in the backup set.
  1168.  
  1169. "Read EA error"
  1170. "Read error"
  1171. A read error occurred when trying to verify the file.
  1172.  
  1173. "CRC error"
  1174. The stored CRC of the backed up file did not match the CRC calculated from
  1175. the data written to the file. This usually means that part of the data was
  1176. skipped due to an earlier error. The file is not deleted, but probably
  1177. contains incorrect data. 
  1178.  
  1179. "Not created"
  1180. ORESTORE was unable to create the file. The file is probably in use by 
  1181. another OS/2 process.
  1182.  
  1183. "Disk full"
  1184. There is insufficient space on the disk to restore the file. This file is
  1185. not restored.
  1186.  
  1187. "File exists"
  1188. The file already exists on the hard disk and the /W switch is not in 
  1189. operation.
  1190.  
  1191. "Invalid path"
  1192. ORESTORE was unable to create the directories necessary to restore the 
  1193. file. Perhaps one of the directory names in the path is already in use as 
  1194. a file.
  1195.  
  1196.  
  1197.  
  1198.  
  1199. ________________________________________________________________________________
  1200. File obackup.doc                                                       Page  20
  1201. "Not found"
  1202. ORESTORE tried to open the file on the hard disk for verification, and
  1203. the file could not be opened. 
  1204.  
  1205. Fatal errors
  1206.  
  1207. Any of the following errors will cause ORESTORE to terminate immediately.
  1208.  
  1209. "Decompression error - Aborted"
  1210. "Floppy disk read - Aborted"
  1211. "Invalid data block - Aborted"
  1212. The stated error occurred, and Abort was selected at the error prompt.
  1213.  
  1214. "Too many arguments"
  1215. ORESTORE can only accept up to 31 <files to restore> arguments.
  1216.  
  1217. Internal errors
  1218.  
  1219. "Can't read BPB" ***
  1220. "Error allocating Extended Attribute buffer" ***
  1221. "Error allocating second Extended Attribute buffer" ***
  1222. "Error allocating verify buffer" ***
  1223. "Error allocating decompress buffer" ***
  1224. "Error allocating write buffer ***"
  1225. "Error allocating read buffer" ***
  1226. These are internal ORESTORE errors.
  1227.  
  1228. Errors marked *** which cannot be explained by either another OS/2
  1229. process accessing a file, by a bad sector on the floppy disk, or by
  1230. another hardware failure, should be reported to your supplier, as
  1231. they indicate a probable program bug. 
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259. ________________________________________________________________________________
  1260. File obackup.doc                                                       Page  21
  1261. OSHOWDIR in detail
  1262.  
  1263. OSHOWDIR allows you to review backup logs created with OBACKUP and 
  1264. OBACKDIR. It is intended to upgrade it to become the user interface to 
  1265. ORESTORE, so you can pick which files to restore. Please feel free to 
  1266. comment on the user interface.
  1267.  
  1268. When OSHOWDIR is invoked, it reads in the OBACKUP.DIR file, and displays 
  1269. the first screen full of files, which looks like this ...
  1270.  
  1271. Disk Date         Time          Size Name                                     ═╗
  1272. ║    15/Aug/1989  14:04:04           New Backup                                ║
  1273. ║001 15/Aug/1989  14:04:04     12345 OBACKUP.TST                               ║
  1274. ║001 15/Aug/1989  14:04:04      2486 TESTFILE.001                              ║
  1275. ║001 15/Aug/1989  14:04:04      1234 TESTFILE.002                              ║
  1276. ║001 15/Aug/1989  14:04:04     56342 TESTFILE.003                              ║
  1277. ║002 15/Aug/1989  14:04:04     12345 TESTFILE.004                              ║
  1278. ║                                                                              ║
  1279. ║  ..... etc .....                                                             ║
  1280. ║                                                                              ║
  1281. ║                                                                              ║
  1282. ║                                                                              ║
  1283. ║                                                                              ║
  1284. ║                                                                              ║
  1285. ║                                                                              ║
  1286. ║                                                                              ║
  1287. ║                                                                              ║
  1288. ║                                                                              ║
  1289. ║                                                                              ║
  1290. ║                                                                              ║
  1291. ║                                                                              ║
  1292. ║                                                                              ║
  1293. ║                                                                              ║
  1294. ║                                                                              ║
  1295. ║                                                                              ║
  1296. ║                                                                              ║
  1297. ║                                                                              ║
  1298. ╚══════════════════════════════════════════════════════════════════════════════╝
  1299. 1HELP  2Dir->3<-Dir4FIND 5Find->6<-Find7Disk->8<-Disk9Set->10<-Set11     12
  1300.  
  1301. Use cursor Up, Down, PgUp, PgDn, Home, End, to move about the list. 
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319. ________________________________________________________________________________
  1320. File obackup.doc                                                       Page  22
  1321. The function keys are used as follows
  1322.  
  1323. F1       Help
  1324. F2       Moves to start of next sub-directory
  1325. F3       Moves to start of previous sub-directory
  1326. F4 or F  Finds (part of) a filename. You will be prompted for a string to
  1327.          search for. Enter the string (or Esc to abandon). When you have
  1328.          entered the string, the cursor will move to the next filename 
  1329.          containing that string.
  1330. F5 or N  Finds the Next occurrence of a file name containing the string
  1331. F6 or P  Finds the Previous occurrence of a file name containing the string
  1332. F7       Moves to start of next backup disk
  1333. F8       Moves to start of previous backup disk
  1334. F9       Moves to start of next backup set
  1335. F10      Moves to start of previous backup set
  1336.  
  1337. OBACKDIR in detail
  1338.  
  1339. OBACKDIR extracts a list of all files found in a backup set. The list is 
  1340. written to the standard output, so may be redirected to a file (OBACKDIR
  1341. >filename). OBACKDIR also adds the list to OBACKUP.DIR for later 
  1342. viewing with OSHOWDIR.
  1343.  
  1344. The only switches available for OBACKDIR are ...
  1345.  
  1346.     /D = Don't test disks to see if OBACKUP /R(aw) was used
  1347.          Normally OBACKDIR tests each disk to see whether it was
  1348.     written by OBACKUP in /R(aw) mode. This switch disables this
  1349.     test. You need to use it if the backup was to a non-removable device,
  1350.     or one where the track size is greater than 32768 bytes. 
  1351.  
  1352.     /L = Don't Log backup
  1353.          Normally, OBACKDIR adds the directories of all disks to
  1354.     the file to OBACKUP.DIR, for later viewing with OSHOWDIR. The
  1355.     /L switch disables this feature. 
  1356.  
  1357. Version history
  1358.  
  1359. 2.2     Fixed bug where OBACKUP failed to recognise disks when appending
  1360.         Fixed bug where OBACKDIR failed to recognise non-raw disks
  1361.         Fixed bug where OBACKUP marked continuation archives incorrectly
  1362.         Fixed bug where times were shown incorrectly
  1363.  
  1364. 2.1     Fixed minor time expiry problem with demonstration version.
  1365.  
  1366. 2.0     Introduced support for HPFS long file names and Extended Attributes.
  1367.         Fixed bug where ORESTORE sometimes failed to recognise backup disks.
  1368.         Improved compression - 16-bit compression is now used instead of 12.
  1369.         Added backup and restore error log files.
  1370.  
  1371. 1.4     Fixed bug where ORESTORE failed to detect that a file existed, so
  1372.         default mode and /Q mode didn't work correctly.
  1373.  
  1374. 1.3     Documentation changed to booklet form.
  1375.         RCS Revision numbers included.
  1376.  
  1377. 1.25    Released first full version, with owner name stamping.
  1378.  
  1379. ________________________________________________________________________________
  1380. File obackup.doc                                                       Page  23
  1381. 1.24    Changed expiry date on OBACKUP
  1382.  
  1383. 1.23    OSHOWDIR enhanced to allow more than 32k of backup directory
  1384.         Fixed other minor bugs in OSHOWDIR
  1385.         Disabled checking for non-raw backup disks if backing up in raw mode.
  1386.         (This occasionally used to hang OS/2 !)
  1387.  
  1388. 1.20    Added backup log and /L option to disable it.
  1389.         Added new program OSHOWDIR to view backup logs.
  1390.         Split distribution into two archives for easier download.
  1391.  
  1392. 1.07    Changed /I mode not to prompt if file wouldn't be restored because 
  1393.         it already exists.
  1394.         Changed expiry date on OBACKUP
  1395.  
  1396. 1.06    Fixed bug in OBACKUP which left the drive locked when changing disks
  1397.         Fixed bug in ORESTORE which wouldn't recognise some disks
  1398.         Added debug code number on OBACKUP screen to help trace faults
  1399.  
  1400. 1.04    Fixed bug that prevented ORESTORE from reading some raw backup disks
  1401.         Added dots to show progress as OBACKUP writes disks
  1402.         Added /C switch to OBACKUP to allow re-use of disks from same set
  1403.         Fixed bug that stopped OBACKUP reading old non-raw backup disks
  1404.         Made any invalid key pop OBACKUP into the background (not just Q)
  1405.         Added /E switch to OBACKUP to back up empty files and directories
  1406.         Added /T switch to ORESTORE to set all files to restore date & time
  1407.  
  1408. 1.03    Introduced ability to add to an existing backup
  1409.         Introduced ability to pop up over other sessions when changing disks
  1410.         Added OBACKDIR program.
  1411.  
  1412. 1.02    ORESTORE would only restore raw device backups (fixed).
  1413.         Improved speed of skipping files in /I mode.
  1414.         Added "Out of space" error.
  1415.         Added overwrite protection, /W and /Q switches to ORESTORE.
  1416.         Added <files to restore>
  1417.         Added /A and /C switches to ORESTORE.
  1418.         Restored files now have same date and time as original files 
  1419.         before backup.
  1420.  
  1421. 1.01    Fixed bug which always caused verify to fail.
  1422.         Included Copyright message in OBACKUP.
  1423.         Added support for raw device output (/R option).
  1424.  
  1425. 1.00    First release.
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439. ________________________________________________________________________________
  1440. File obackup.doc                                                       Page  24
  1441. Other programs available from Trumphurst
  1442.  
  1443. REDIRECT        DOS printer and device redirection. Capture printer or 
  1444.                 device (including stderr) output to disk. CUA compliant,
  1445.                 mouse-driven, friendly user interface. DOS only.
  1446.  
  1447. PAGE            User-configurable ASCII document formatter. As well as
  1448.                 tidying up program listings and long documents, this
  1449.                 program will also enable you to save paper by printing in
  1450.                 reduced size fonts, with multiple pages on each sheet of
  1451.                 paper. It will also print documents in booklet form -
  1452.                 this manual was produced using PAGE. Available for DOS,
  1453.                 OS/2 and UNIX.
  1454.  
  1455. ZED             The programmers editor, as bundled with the original
  1456.                 Zortech C compiler. This updated version includes full C
  1457.                 source code. It is available for DOS, OS/2 and UNIX. 
  1458.  
  1459. C++tmUIT        Text mode user interface toolkit library for C++. 
  1460.                 Provides an easy-to-program, CUA compliant, user interface 
  1461.                 for C++ programmers. Works in DOS text mode. Full source 
  1462.                 code supplied. UNIX version in the pipeline.
  1463.  
  1464. UnixMenu        Simple front end menu system to hide UNIX from end users.
  1465.                 Comes with full C source and/or an SCO UNIX executable.
  1466.  
  1467. DosAudit        Tracing/debugging program for DOS executables. DosAudit 
  1468.                 is a TSR which logs all file OPEN, CREATE, CLOSE, READ,
  1469.                 WRITE, EXECUTE DELETE and RENAME calls in a running 
  1470.                 program. This log can be viewed, and turned on or off, in
  1471.                 a pop-up window, and comments can be added to the log 
  1472.                 while the audited program is running. A post-processor can
  1473.                 selectively place events from the log file from straight
  1474.                 text into a comma- delimited file for importing into most
  1475.                 spreadsheets and databases for subsequent processing. 
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499. ________________________________________________________________________________
  1500. File obackup.doc                                                       Page  25
  1501.